package com.jiaying.patient.domain;

/**
 * 医生类
 * 1.类的属性：私有
 * 2.类的基本行为  set/get方法
 * 3.构造方法，一定要有空构造方法（工业标准） 其他的
 * 4.toString方法
 * 5.复写equals方法
 *
 */
public class Doctor {

    private String doctor_name;
    private String doctor_password;

    public String getDoctor_name() {
        return doctor_name;
    }

    public String getDoctor_password() {
        return doctor_password;
    }

    public Doctor(String doctor_name, String doctor_password) {
        this.doctor_name = doctor_name;
        this.doctor_password = doctor_password;
    }

    public Doctor() {
    }

    public void setDoctor_name(String doctor_name) {
        this.doctor_name = doctor_name;
    }

    public void setDoctor_password(String doctor_password) {
        this.doctor_password = doctor_password;
    }

    @Override
    public String toString() {
        return "Doctor{" +
                "doctor_name='" + doctor_name + '\'' +
                ", doctor_password='" + doctor_password + '\'' +
                '}';
    }
}
